package kms

type CreateSecretReq struct {
	SecretData string `json:"secretData"`
	SecretName string `json:"secretName"`
}

func (req *CreateSecretReq) action() string {
	return "CreateSecret"
}

type CreateSecretRes struct {
	ResCommon
}

func (c *Client) CreateSecret(req *CreateSecretReq) (res CreateSecretRes, err error) {
	err = c.Request(req, &res)
	return
}
